package com.snda.sng.chat.events
{
	import flash.events.Event;
	
	
	/**
	 * ChatClientErrorEvent
	 * @author 任冬 rending01@snda.com
	 * $Id: ChatClientErrorEvent.as 26 2011-07-21 02:37:23Z rendong $
	 * @version 1.0
	 */
	public class ChatClientErrorEvent extends Event
	{
		/**
		 * 错误类型 
		 */		
		public static const EventType:String = "ChatClientErrorEvent";
		
		public static const ERROR_IOERROR:int = 1;
		public static const ERROR_SECURITY:int = 2;
		public static const ERROR_AUTH_FAIL:int = 3;
		
		public var errorType:int;
		
		public function ChatClientErrorEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}
